WARNING: This program has a syntax error, which means we need to fix it! Empty functions cannot run!

RULE: Functions must have code indented inside which will run when the function is called.

  • Click Run and read the error message. This program is incomplete, but the coder wants to test the code that they have written so far. Debug this program so that the empty function does not cause an error.
  • In LOGIC, from add a Pass command to the lava_flow() function.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)